﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfBuscarDireccionCliente.aspx.cs" Inherits="WebGustozzi.wfBuscarDireccionCliente" EnableEventValidation="false"%>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Aplicación Web Gustozzi</title>
    <link href="//App_Themes/SkinFile/StyleSheet.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../SCRIPT/ManejarControles.js"></script> 
    <script type="text/javascript" src="../SCRIPT/DialogosMaster.js"></script> 
    <script type="text/javascript">
        if (window.dialogArguments) {
            window.opener = window.dialogArguments;
        }
    </script>
    <script type="text/javascript" language="javascript">
        function Cerrar() {
            window.close();
        }
    </script>
</head>
<body>
    <form id="form2" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server"><contenttemplate>   
      <div class="popup_Container">
        <div class="popup_Titlebar" id="PopupHeader">
            <div class="TitlebarLeft">            
                <%--Titulo--%>
                  <table style="width:100%" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td >
                            <asp:Label id="lblTarea" runat="server" Text=":: CONSULTAR DIRECCIONES" 
                                SkinID="labelTitulo"></asp:Label>
                        </td>
                    </tr>    
                    <tr>
                        <td style="HEIGHT: 10px"></td>
                    </tr>
                </table>
            </div>
            <div class="TitlebarRight" onclick="cancel();">
            </div>
        </div>
        <div class="popupBusqueda">
        <div id="contenedor4">
                <asp:HiddenField ID="hdf_InicioGrilla" runat="server"/>
               
                <asp:HiddenField ID="hdfCodigoCliente" runat="server" />
               
                 <DIV style="WIDTH: 94%; HEIGHT: 209px" id="DIV1" class="divGVForm">
                <asp:GridView id="grvDireccion" runat="server" SkinID="gridviewSkin" 
                    AutoGenerateColumns="False" AllowPaging="True" 
            ShowHeaderWhenEmpty="True" Height="106px" Width="736px" 
                         onrowdatabound="grvDireccion_RowDataBound" >
                    <Columns>
                        <asp:BoundField HeaderText="ID" DataField="codigoDireccion"></asp:BoundField>
                        <asp:BoundField HeaderText="DIRECCION" DataField="descripcionCompleta">
                        <ItemStyle Width="40%" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="DEPARTAMENTO">
                        <ItemStyle Width="10%" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="PROVINCIA">
                        <ItemStyle Width="10%" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="DISTRITO">
                        <ItemStyle Width="10%" />
                        </asp:BoundField>
                        <asp:ButtonField Text="Seleccionar" />
                        </Columns>
                        </asp:GridView>
            </DIV>
            </div>

                    <%--Controles de Comando--%>
        <table>
            <tr >
                <td>
                    &nbsp;<asp:ImageButton ID="imbCerrar" runat="server" 
                        ImageUrl="~/imagenes/bn_cerrar.jpg"  
                        ToolTip="Cerrar" onclientclick="Cerrar()" />
                </td>
            </tr>
        </table>   
        </div>
    </div>
    </contenttemplate>     </asp:UpdatePanel>  
</form>
</body>
</html>